package cn.t.enums.order;

import cn.t.core.enums.base.CommonEnum;
import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author l
 */

@Getter
@AllArgsConstructor
public enum OrderTypeEnum   implements CommonEnum<Integer, String> {
    ORDER(1, "领用正常单"),
    ERRORDER_TYPE(2, "异常领用单"),

    TRANSFER_ORDER(3, "转订单"),
    UN_ORDER(4, "疑似未领取"),
    ;
    @JsonValue
    @EnumValue
    private final Integer code;
    private final String name;
}
